home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16327 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1002 b   |  30 lines

  1. Newsgroups: comp.lang.c++
  2. Path: cs.vu.nl!oscholt
  3. From: oscholt@cs.vu.nl (Oscar Scholten)
  4. Subject: Optimizing lists etc
  5. Nntp-Posting-Host: galei.cs.vu.nl
  6. Sender: news@cs.vu.nl
  7. Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
  8. Date: Wed, 10 Apr 1996 11:44:04 GMT
  9. X-Newsreader: TIN [version 1.2 PL2]
  10. Message-ID: <Dpn9xH.47v.0.-s@cs.vu.nl>
  11.  
  12. Hi all,
  13.  
  14. Recently I started working on a large game with a couple of guys.
  15. Ofcourse we need lot's of datastructures like single and double
  16. linked lists, trees etc. I implemented them using templates, they
  17. are finished and completely debugged by now.
  18.  
  19. Yet I was wondering if it is worth it to optimize them. Right now
  20. the structures are pretty streight-forward, they all have some
  21. search and sort options. The structures could become very large, 
  22. and we do not want to waste any cpu-time on them.
  23.  
  24. So is it possible to optimize a template using inline assembly etc ?
  25. And more important, what is the speed gain ?
  26.  
  27. Oscar
  28. -- 
  29. Oscar Scholten ( oscholt@cs.vu.nl )
  30.